package com.gitee.wsl.func.operator

/**
 * Represents an operation upon two `double`-valued operands and producing a
 * `double`-valued result.   This is the primitive type specialization of
 * [BinaryOperator] for `double`.
 *
 *
 * This is a [functional interface](package-summary.html)
 * whose functional method is [.applyAsDouble].
 *
 * @see BinaryOperator
 *
 * @see DoubleUnaryOperator
 *
 * @since 1.8
 */
fun interface DoubleBinaryOperator {
    /**
     * Applies this operator to the given operands.
     *
     * @param left the first operand
     * @param right the second operand
     * @return the operator result
     */
    fun applyAsDouble(left: Double, right: Double): Double
}
